<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Gestion_Des_Inscriptions_Universitaires:  Fichier source de /home/omid/Bureau/projet/gestion-des-inscriptions-universitaires-version-finale/src/UE.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Gestion_Des_Inscriptions_Universitaires</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_u_e_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">UE.h</div>  </div>
</div>
<div class="contents">
<a href="_u_e_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef _UE_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define _UE_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="comment">/* ********************************************************************* */</span>
<a name="l00013"></a>00013 <span class="comment">/*                                                                       */</span>
<a name="l00014"></a>00014 <span class="comment">/*                       Librairies de UE                                */</span>
<a name="l00015"></a>00015 <span class="comment">/*                                                                       */</span>
<a name="l00016"></a>00016 <span class="comment">/* ********************************************************************* */</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;<a class="code" href="_util_str_8h.html" title="Fichier d&#39;entête du module utilitaireString.">UtilStr.h</a>&quot;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;<a class="code" href="_enseignant_8h.html" title="Fichier d&#39;entête du module Eenseigant.">Enseignant.h</a>&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="_chemin_8h.html">Chemin.h</a>&quot;</span>
<a name="l00026"></a>00026 <span class="comment">/* ********************************************************************* */</span>
<a name="l00027"></a>00027 <span class="comment">/*                                                                       */</span>
<a name="l00028"></a>00028 <span class="comment">/*                        Définitions de types                           */</span>
<a name="l00029"></a>00029 <span class="comment">/*                                                                       */</span>
<a name="l00030"></a>00030 <span class="comment">/* ********************************************************************* */</span>
<a name="l00031"></a>00031 
<a name="l00039"></a><a class="code" href="structs_u_e.html">00039</a> <span class="keyword">struct </span><a class="code" href="structs_u_e.html">sUE</a>
<a name="l00040"></a>00040     {
<a name="l00041"></a><a class="code" href="structs_u_e.html#a3b028a5da746ad62456e326c92f11fdb">00041</a>     <span class="keywordtype">int</span> <a class="code" href="structs_u_e.html#a3b028a5da746ad62456e326c92f11fdb">codeUE</a>;
<a name="l00042"></a><a class="code" href="structs_u_e.html#a72f085d27b67b6c4f80fb35f7919f419">00042</a>     <span class="keywordtype">char</span> * <a class="code" href="structs_u_e.html#a72f085d27b67b6c4f80fb35f7919f419">intitule</a>;
<a name="l00043"></a><a class="code" href="structs_u_e.html#a7e03c7fe34dd3d36607cc483bd949eab">00043</a>     <span class="keywordtype">int</span> <a class="code" href="structs_u_e.html#a7e03c7fe34dd3d36607cc483bd949eab">sequence</a>;
<a name="l00044"></a>00044     };
<a name="l00045"></a>00045 
<a name="l00050"></a><a class="code" href="_u_e_8h.html#a9f4791be4a1628a3a10822bbbe3e7a19">00050</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_u_e.html">sUE</a> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> ;
<a name="l00051"></a>00051 
<a name="l00059"></a><a class="code" href="structs_tab_ue.html">00059</a> <span class="keyword">struct  </span><a class="code" href="structs_tab_ue.html" title="Structure utilisée pour la gestion d&#39;une UE.">sTabUe</a>
<a name="l00060"></a>00060 {
<a name="l00061"></a><a class="code" href="structs_tab_ue.html#a424f3ea9618b4adc9b31421e54e92f23">00061</a>     <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a>**<a class="code" href="structs_tab_ue.html#a424f3ea9618b4adc9b31421e54e92f23">tabUe</a>;
<a name="l00062"></a><a class="code" href="structs_tab_ue.html#a437738fc15cf110e31c5bda4a8336a3f">00062</a>     <span class="keywordtype">int</span> <a class="code" href="structs_tab_ue.html#a437738fc15cf110e31c5bda4a8336a3f">nbUe</a>;
<a name="l00063"></a>00063 };
<a name="l00064"></a>00064 
<a name="l00069"></a><a class="code" href="_u_e_8h.html#ae824b6156367e44b09e5fb3bce7e5437">00069</a> <span class="keyword">typedef</span> <span class="keyword">struct  </span><a class="code" href="structs_tab_ue.html" title="Structure utilisée pour la gestion d&#39;une UE.">sTabUe</a>  <a class="code" href="structs_tab_ue.html" title="Structure utilisée pour la gestion d&#39;une UE.">TabUe</a>;
<a name="l00070"></a>00070 
<a name="l00082"></a>00082 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#a19cc11217c448834fcd93cf61ce3afac" title="Initialise un UE. initUE initialise CodeUE, Intitule et Sequence (après vérification) de la structure...">initUE</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *ue,<span class="keyword">const</span> <span class="keywordtype">int</span> CodeUE,<span class="keyword">const</span> <span class="keywordtype">char</span> * Intitule,<span class="keyword">const</span> <span class="keywordtype">int</span> Sequence);
<a name="l00083"></a>00083 
<a name="l00091"></a>00091 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#ab6a2b186a9216176ff1a5974103db57e" title="Libere un UE en mémoire.">libUE</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *ue);
<a name="l00092"></a>00092 
<a name="l00102"></a>00102 <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> * <a class="code" href="_u_e_8c.html#a38036b49b8a4cbf9be4a8d01cdd3c9bd" title="Crée un UE en mémoire.">creUE</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> CodeUE,<span class="keyword">const</span> <span class="keywordtype">char</span> * Intitule,<span class="keyword">const</span> <span class="keywordtype">int</span> Sequence);
<a name="l00103"></a>00103 
<a name="l00104"></a>00104 
<a name="l00112"></a>00112 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#af3f16ef2c24f58324aeb92fc5771af69">detUE</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> ** ue);
<a name="l00113"></a>00113 
<a name="l00114"></a>00114 <span class="comment">/* ******************************************************************** */</span>
<a name="l00115"></a>00115 <span class="comment">/*                                                                                                                                              */</span>
<a name="l00116"></a>00116 <span class="comment">/*           Accesseurs et Mutateurs de la structure UE                 */</span>
<a name="l00117"></a>00117 <span class="comment">/*                                                                                                                                              */</span>
<a name="l00118"></a>00118 <span class="comment">/* ******************************************************************** */</span>
<a name="l00119"></a>00119 
<a name="l00127"></a>00127 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#a088309400fbb44fd87be9ee1460f39c2" title="returner CodeUE.">getCodeUE</a>(<span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> * ue);
<a name="l00128"></a>00128 
<a name="l00137"></a>00137 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#ad8c53f8b5c6b215780ba94c6d29931c0" title="modifie le champ CodeUE de l&#39;ue.">setCodeUE</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> * ue, <span class="keywordtype">int</span> CodeUE);
<a name="l00138"></a>00138 
<a name="l00146"></a>00146 <span class="keywordtype">char</span> * <a class="code" href="_u_e_8c.html#a6a3694aec996cd709e21c471af2c09e6" title="returner Intitule.">getIntitule</a>(<span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> * ue);
<a name="l00147"></a>00147 
<a name="l00156"></a>00156 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#abfbcddc877421fdf686143960779a4b2" title="modifie le champ Intitule de l&#39;ue.">setIntitule</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> * ue,<span class="keywordtype">char</span> * Intitule);
<a name="l00157"></a>00157 
<a name="l00165"></a>00165 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#a6b323963891fa2dffb14298e2e07df60" title="returner Sequence.">getSequence</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> * ue);
<a name="l00166"></a>00166 
<a name="l00175"></a>00175 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#ac802fc0fd0a5475e098fcee9fa69e275" title="modifie le champ Sequence de l&#39;ue.">setSequence</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> * ue, <span class="keywordtype">int</span> Sequence);
<a name="l00176"></a>00176 
<a name="l00184"></a>00184 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#aad4238fe202eb9e241fe6f93f379d84e">affUE</a>(<span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> * ue);
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 <span class="comment">/* ********************************************************************* */</span>
<a name="l00188"></a>00188 <span class="comment">/*                                                                       */</span>
<a name="l00189"></a>00189 <span class="comment">/*             Fonctions relatives aux gestiond&#39;UE                       */</span>
<a name="l00190"></a>00190 <span class="comment">/*                                                                       */</span>
<a name="l00191"></a>00191 <span class="comment">/* ********************************************************************* */</span>
<a name="l00192"></a>00192 
<a name="l00201"></a>00201 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#a49e372b94123ff0af3d5ea99add2a667" title="saover UE dans un fichier binaire.">savUE</a>(<span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *ue);
<a name="l00202"></a>00202 
<a name="l00213"></a>00213 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#a8761e01da94ec57e3d410e9673aa3836" title="saover UE dans un fichier binaire.">savUEParElem</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> CodeUE,<span class="keyword">const</span> <span class="keywordtype">char</span> * Intitule,<span class="keyword">const</span> <span class="keywordtype">int</span> Sequence);
<a name="l00214"></a>00214 
<a name="l00224"></a>00224 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#a2f2c0cc18f648d3563f2641ca6d3a6e4" title="recherche UE dans un fichier binaire.">rchUE</a>(<span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *pEU);
<a name="l00225"></a>00225 
<a name="l00235"></a>00235 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#a1c3e6cc1bbfee7cc0a7c840c1f4f8650" title="recherche UE dans un fichier binaire.">rchUEParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> codeUE);
<a name="l00236"></a>00236 
<a name="l00246"></a>00246 <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *<a class="code" href="_u_e_8h.html#a2aadbdffe5b3d0ad6b08dc6c7fd3bcb4" title="recupérer UE dans un fichier binaire.">recUE</a>(<span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *pEU);
<a name="l00247"></a>00247 
<a name="l00257"></a>00257 <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *<a class="code" href="_u_e_8c.html#a8e8dfc85ab1cabe8c8ac73e3818347b0" title="recupérer UE dans un fichier binaire.">recUEParCode</a>(<span class="keywordtype">int</span> codeUE);
<a name="l00258"></a>00258 
<a name="l00268"></a>00268 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#ad290c3df9132f91747c1ee2c8f8cb4b7" title="supprimer UE dans un fichier binaire.">supUE</a>(<span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *pEU);
<a name="l00269"></a>00269 
<a name="l00279"></a>00279 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#aded9c87d8e34728018ed04b78f591e21" title="supprimer UE dans un fichier binaire.">supUEParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> codeUE);
<a name="l00280"></a>00280 
<a name="l00292"></a>00292 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#a01dbb73f02cce50758385e720f42362f" title="modifier UE dans un fichier binaire.">mdfUE</a>(<span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *pEU, <span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *nUE);
<a name="l00293"></a>00293 
<a name="l00305"></a>00305 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#a0f4bd2790e89520db8f3e6c3108a2139" title="modifier UE dans un fichier binaire.">mdfUEParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> codeUE, <span class="keyword">const</span> <a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *nUE);
<a name="l00306"></a>00306 
<a name="l00307"></a>00307 
<a name="l00308"></a>00308 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#ad8082c7526b78f801e61eb5a059a0b15" title="setResponsableToUe">setResponsableToUe</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>*ens,<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a>*ue);
<a name="l00309"></a>00309 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#aaf7d1d25e5ea29c0f04530dd73485d1f">setResponsableToUeParCode</a>(<span class="keywordtype">int</span> numEns,<span class="keywordtype">int</span> codeUe);
<a name="l00310"></a>00310 
<a name="l00320"></a>00320 <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> * <a class="code" href="_u_e_8c.html#a28f3df08af27332c56b13214391bbf82" title="recupérer responsable d&#39;un UE dans un fichier binaire.">recResponsableUeParCode</a>(<span class="keywordtype">int</span> codeUe);
<a name="l00321"></a>00321 
<a name="l00331"></a>00331 <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> * <a class="code" href="_u_e_8c.html#a49d0aa27e7e98efd397c0de698040210" title="recupérer responsable d&#39;un UE dans un fichier binaire.">recResponsableUe</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a>*ue);
<a name="l00332"></a>00332 
<a name="l00342"></a>00342 <a class="code" href="structs_tab_ue.html" title="Structure utilisée pour la gestion d&#39;une UE.">TabUe</a> * <a class="code" href="_u_e_8c.html#a6f6de8bf0abd5520b5c9f288ec073283" title="recUeParEnseignantResp">recUeParEnseignantResp</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>*ens);
<a name="l00343"></a>00343 
<a name="l00353"></a>00353 <a class="code" href="structs_tab_ue.html" title="Structure utilisée pour la gestion d&#39;une UE.">TabUe</a> * <a class="code" href="_u_e_8c.html#a303c465ea49009cab1004c89781dfa96" title="recUeParNumEnseignantResp">recUeParNumEnseignantResp</a>(<span class="keywordtype">int</span> numEns);
<a name="l00354"></a>00354 
<a name="l00362"></a>00362 <a class="code" href="structs_tab_ue.html" title="Structure utilisée pour la gestion d&#39;une UE.">TabUe</a> * <a class="code" href="_u_e_8c.html#a30d4687cb7d39f95f10ac61282d528fa" title="recToutUe">recToutUe</a>();
<a name="l00363"></a>00363 
<a name="l00374"></a>00374 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#abc5a522764f3e06aefe320d0169afa6a" title="supprimer RespUE dans un fichier binaire.">supRespUE</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a>*ue);
<a name="l00375"></a>00375 
<a name="l00386"></a>00386 <span class="keywordtype">int</span> <a class="code" href="_u_e_8c.html#a1f0d515da781d077e7ab30b525c094ad" title="supprimer RespUE dans un fichier binaire.">supRespUEParCode</a>(<span class="keywordtype">int</span> codeUe);
<a name="l00387"></a>00387 
<a name="l00388"></a>00388 
<a name="l00395"></a>00395 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#adb121c9dc71b638605ec7b28ff7a2b62" title="Afficher base de donnee de UE .">affUE_DB</a>();
<a name="l00396"></a>00396 
<a name="l00401"></a>00401 <span class="keywordtype">void</span> <a class="code" href="_u_e_8c.html#a0a1c54f20c938e04aca05ed33add510e" title="Test le module UE.">regUE</a>();
<a name="l00402"></a>00402 
<a name="l00403"></a>00403 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_u_e_8h.html">UE.h</a>      </li>
      <li class="footer">Généré le Thu Jun 7 2012 17:01:10 pour Gestion_Des_Inscriptions_Universitaires par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
